package com.nlx.notes.module.bean.dto.file.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

@Getter
@Setter
@ToString
public class ZfbBillRecordDTO implements Serializable {

    @ExcelProperty("记录时间")
    private String transactionTime;

    @ExcelProperty("分类")
    private String category;

    @ExcelProperty("收支类型")
    private String transactionType;

    @ExcelProperty("金额")
    private String amount;

    @ExcelProperty("备注")
    private String remarks;

    private String account;

    private String source;

    private String tag;

    public ZfbBillRecordDTO(String transactionTime, String category, String transactionType,
                            String amount, String remarks, String account, String source, String tag) {
        this.transactionTime = transactionTime;
        this.category = category;
        this.transactionType = transactionType;
        this.amount = amount;
        this.remarks = remarks;
        this.account = account;
        this.source = source;
        this.tag = tag;
    }
}
